import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 工艺项目
 * */
export const machineManagerMachineMonitoringTypeList = (params) => getRequest('/machinemanager/machine/monitoring-type-list', params);

export const spinSpecProjectCreate = (data) => postRequest('/spin/technology-project/create', data);
export const spinSpecProjectUpdate = (data) => putRequest('/spin/technology-project/update', data);
export const spinSpecProjectDelete = (params) => deleteRequest('/spin/technology-project/delete', params);
export const spinSpecProjectGet = (params) => getRequest('/spin/technology-project/get', params);
export const spinSpecProjectPage = (params) => getRequest('/spin/technology-project/page', params);

export const spinTechnologyModelCreate = (data) => postRequest('/spin/technology-model/create', data);
export const spinTechnologyModelUpdate = (data) => putRequest('/spin/technology-model/update', data);
export const spinTechnologyModelDelete = (params) => deleteRequest('/spin/technology-model/delete', params);
export const spinTechnologyModelGet = (params) => getRequest('/spin/technology-model/get', params);
export const spinTechnologyModelPage = (params) => getRequest('/spin/technology-model/page', params);
